package com.projects.api.common.model.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import java.io.Serializable;

/**
 * @author zhangzhenfu
 * @Description
 * @date 2020/4/3 15:23
 */
@Data
@ApiModel
public class PageQuery extends BaseQuery implements Serializable {

    @ApiModelProperty(value = "页码",example = "1")
    protected int pageNum;
    @ApiModelProperty(value = "页长度",example = "10")
    protected int pageSize;

    public PageQuery() {
    }

    @Override
    public void build(){
        super.build();
    }
}